//
//  DrawView.m
//  BUDING
//
//  Created by 景强 on 16/4/9.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import "DrawView.h"

@implementation DrawView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {


    [self p_drawArc];




}


- (void)p_drawArc {
    
    CGContextRef context = UIGraphicsGetCurrentContext();

    CGContextAddArc(context, 30, 50, 60, 0, M_PI * 2, 0);
    [[UIColor greenColor] setStroke];
    CGContextDrawPath(context, kCGPathFillStroke);

    
    
    
    
    
    
}



















@end
